Skip to content

Conversation

@karlseguin
Copy link
Collaborator

Element and CharData both have a before & after function.

Also, changed the existing functions that took a Node but should take a Node or Text, i.e append, prepend and replaceChildren. These functions, along with the new before/after all take a new NodeOrText union.

Element and CharData both have a before & after function.

Also, changed the existing functions that took a Node but should take
a Node or Text, i.e append, prepend and replaceChildren. These functions, along
with the new before/after all take a new NodeOrText union.
@krichprollsch krichprollsch merged commit e451397 into main May 9, 2025
12 checks passed
@krichprollsch krichprollsch deleted the before_and_after branch May 9, 2025 10:00
@github-actions github-actions bot locked and limited conversation to collaborators May 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants